<template>
  <div class="box">
    <h2>Event2组件</h2>
    <button @click="$emit('click','atguigu')">分发自定义click事件</button><br>
    <button @click="$emit('xxx','xxx')">分发自定义xxx事件</button><br>
    <button @click="$emit('getInfo',5)">分发自定义更新父元素count值事件</button><br>
  </div>
</template>
